package com.gp.learn.ssm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.gp.learn.ssm.**.mapper")//这个注解，作用相当于下面的@Bean MapperScannerConfigurer，2者配置1份即可
public class LearnSsmApplication {

    public static void main(String[] args) {
        SpringApplication.run(LearnSsmApplication.class, args);
    }

}
